package sdl2_impl

import (
	"math/rand"
	"time"
)

type RandomNumber struct{}

func (_ RandomNumber) Next() uint8 {
	return uint8(rand.Intn(256))
}

func (_ RandomNumber) SeedWithNow() {
	rand.Seed(int64(time.Now().UTC().UnixNano()))
}
